Integrand size = 40, antiderivative size = 247 \[ \int \frac {(a+a \sin (e+f x))^{7/2} (A+B \sin (e+f x))}{(c-c \sin (e+f x))^{9/2}} \, dx=\frac {(A+B) \cos (e+f x) (a+a \sin (e+f x))^{7/2}}{8 f (c-c \sin (e+f x))^{9/2}}-\frac {a B \cos (e+f x) (a+a \sin (e+f x))^{5/2}}{3 c f (c-c \sin (e+f x))^{7/2}}+\frac {a^2 B \cos (e+f x) (a+a \sin (e+f x))^{3/2}}{2 c^2 f (c-c \sin (e+f x))^{5/2}}-\frac {a^3 B \cos (e+f x) \sqrt {a+a \sin (e+f x)}}{c^3 f (c-c \sin (e+f x))^{3/2}}-\frac {a^4 B \cos (e+f x) \log (1-\sin (e+f x))}{c^4 f \sqrt {a+a \sin (e+f x)} \sqrt {c-c \sin (e+f x)}} \]
1/8*(A+B)*cos(f*x+e)*(a+a*sin(f*x+e))^(7/2)/f/(c-c*sin(f*x+e))^(9/2)-1/3*a *B*cos(f*x+e)*(a+a*sin(f*x+e))^(5/2)/c/f/(c-c*sin(f*x+e))^(7/2)+1/2*a^2*B* cos(f*x+e)*(a+a*sin(f*x+e))^(3/2)/c^2/f/(c-c*sin(f*x+e))^(5/2)-a^3*B*cos(f *x+e)*(a+a*sin(f*x+e))^(1/2)/c^3/f/(c-c*sin(f*x+e))^(3/2)-a^4*B*cos(f*x+e) *ln(1-sin(f*x+e))/c^4/f/(a+a*sin(f*x+e))^(1/2)/(c-c*sin(f*x+e))^(1/2)
Time = 12.29 (sec) , antiderivative size = 238, normalized size of antiderivative = 0.96 \[ \int \frac {(a+a \sin (e+f x))^{7/2} (A+B \sin (e+f x))}{(c-c \sin (e+f x))^{9/2}} \, dx=\frac {\left (6 (A+B)-4 (3 A+5 B) \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )^2+9 (A+3 B) \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )^4-3 (A+7 B) \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )^6-6 B \log \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right ) \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right )^8\right ) \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right ) (a (1+\sin (e+f x)))^{7/2}}{3 f \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right )^7 (c-c \sin (e+f x))^{9/2}} \]
((6*(A + B) - 4*(3*A + 5*B)*(Cos[(e + f*x)/2] - Sin[(e + f*x)/2])^2 + 9*(A + 3*B)*(Cos[(e + f*x)/2] - Sin[(e + f*x)/2])^4 - 3*(A + 7*B)*(Cos[(e + f* x)/2] - Sin[(e + f*x)/2])^6 - 6*B*Log[Cos[(e + f*x)/2] - Sin[(e + f*x)/2]] *(Cos[(e + f*x)/2] - Sin[(e + f*x)/2])^8)*(Cos[(e + f*x)/2] - Sin[(e + f*x )/2])*(a*(1 + Sin[e + f*x]))^(7/2))/(3*f*(Cos[(e + f*x)/2] + Sin[(e + f*x) /2])^7*(c - c*Sin[e + f*x])^(9/2))
Time = 1.39 (sec) , antiderivative size = 250, normalized size of antiderivative = 1.01, number of steps used = 14, number of rules used = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.325, Rules used = {3042, 3451, 3042, 3218, 3042, 3218, 3042, 3218, 3042, 3216, 3042, 3146, 16}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {(a \sin (e+f x)+a)^{7/2} (A+B \sin (e+f x))}{(c-c \sin (e+f x))^{9/2}} \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \frac {(a \sin (e+f x)+a)^{7/2} (A+B \sin (e+f x))}{(c-c \sin (e+f x))^{9/2}}dx\) |
\(\Big \downarrow \) 3451 |
\(\displaystyle \frac {(A+B) \cos (e+f x) (a \sin (e+f x)+a)^{7/2}}{8 f (c-c \sin (e+f x))^{9/2}}-\frac {B \int \frac {(\sin (e+f x) a+a)^{7/2}}{(c-c \sin (e+f x))^{7/2}}dx}{c}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {(A+B) \cos (e+f x) (a \sin (e+f x)+a)^{7/2}}{8 f (c-c \sin (e+f x))^{9/2}}-\frac {B \int \frac {(\sin (e+f x) a+a)^{7/2}}{(c-c \sin (e+f x))^{7/2}}dx}{c}\) |
\(\Big \downarrow \) 3218 |
\(\displaystyle \frac {(A+B) \cos (e+f x) (a \sin (e+f x)+a)^{7/2}}{8 f (c-c \sin (e+f x))^{9/2}}-\frac {B \left (\frac {a \cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{3 f (c-c \sin (e+f x))^{7/2}}-\frac {a \int \frac {(\sin (e+f x) a+a)^{5/2}}{(c-c \sin (e+f x))^{5/2}}dx}{c}\right )}{c}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {(A+B) \cos (e+f x) (a \sin (e+f x)+a)^{7/2}}{8 f (c-c \sin (e+f x))^{9/2}}-\frac {B \left (\frac {a \cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{3 f (c-c \sin (e+f x))^{7/2}}-\frac {a \int \frac {(\sin (e+f x) a+a)^{5/2}}{(c-c \sin (e+f x))^{5/2}}dx}{c}\right )}{c}\) |
\(\Big \downarrow \) 3218 |
\(\displaystyle \frac {(A+B) \cos (e+f x) (a \sin (e+f x)+a)^{7/2}}{8 f (c-c \sin (e+f x))^{9/2}}-\frac {B \left (\frac {a \cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{3 f (c-c \sin (e+f x))^{7/2}}-\frac {a \left (\frac {a \cos (e+f x) (a \sin (e+f x)+a)^{3/2}}{2 f (c-c \sin (e+f x))^{5/2}}-\frac {a \int \frac {(\sin (e+f x) a+a)^{3/2}}{(c-c \sin (e+f x))^{3/2}}dx}{c}\right )}{c}\right )}{c}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {(A+B) \cos (e+f x) (a \sin (e+f x)+a)^{7/2}}{8 f (c-c \sin (e+f x))^{9/2}}-\frac {B \left (\frac {a \cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{3 f (c-c \sin (e+f x))^{7/2}}-\frac {a \left (\frac {a \cos (e+f x) (a \sin (e+f x)+a)^{3/2}}{2 f (c-c \sin (e+f x))^{5/2}}-\frac {a \int \frac {(\sin (e+f x) a+a)^{3/2}}{(c-c \sin (e+f x))^{3/2}}dx}{c}\right )}{c}\right )}{c}\) |
\(\Big \downarrow \) 3218 |
\(\displaystyle \frac {(A+B) \cos (e+f x) (a \sin (e+f x)+a)^{7/2}}{8 f (c-c \sin (e+f x))^{9/2}}-\frac {B \left (\frac {a \cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{3 f (c-c \sin (e+f x))^{7/2}}-\frac {a \left (\frac {a \cos (e+f x) (a \sin (e+f x)+a)^{3/2}}{2 f (c-c \sin (e+f x))^{5/2}}-\frac {a \left (\frac {a \cos (e+f x) \sqrt {a \sin (e+f x)+a}}{f (c-c \sin (e+f x))^{3/2}}-\frac {a \int \frac {\sqrt {\sin (e+f x) a+a}}{\sqrt {c-c \sin (e+f x)}}dx}{c}\right )}{c}\right )}{c}\right )}{c}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {(A+B) \cos (e+f x) (a \sin (e+f x)+a)^{7/2}}{8 f (c-c \sin (e+f x))^{9/2}}-\frac {B \left (\frac {a \cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{3 f (c-c \sin (e+f x))^{7/2}}-\frac {a \left (\frac {a \cos (e+f x) (a \sin (e+f x)+a)^{3/2}}{2 f (c-c \sin (e+f x))^{5/2}}-\frac {a \left (\frac {a \cos (e+f x) \sqrt {a \sin (e+f x)+a}}{f (c-c \sin (e+f x))^{3/2}}-\frac {a \int \frac {\sqrt {\sin (e+f x) a+a}}{\sqrt {c-c \sin (e+f x)}}dx}{c}\right )}{c}\right )}{c}\right )}{c}\) |
\(\Big \downarrow \) 3216 |
\(\displaystyle \frac {(A+B) \cos (e+f x) (a \sin (e+f x)+a)^{7/2}}{8 f (c-c \sin (e+f x))^{9/2}}-\frac {B \left (\frac {a \cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{3 f (c-c \sin (e+f x))^{7/2}}-\frac {a \left (\frac {a \cos (e+f x) (a \sin (e+f x)+a)^{3/2}}{2 f (c-c \sin (e+f x))^{5/2}}-\frac {a \left (\frac {a \cos (e+f x) \sqrt {a \sin (e+f x)+a}}{f (c-c \sin (e+f x))^{3/2}}-\frac {a^2 \cos (e+f x) \int \frac {\cos (e+f x)}{c-c \sin (e+f x)}dx}{\sqrt {a \sin (e+f x)+a} \sqrt {c-c \sin (e+f x)}}\right )}{c}\right )}{c}\right )}{c}\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {(A+B) \cos (e+f x) (a \sin (e+f x)+a)^{7/2}}{8 f (c-c \sin (e+f x))^{9/2}}-\frac {B \left (\frac {a \cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{3 f (c-c \sin (e+f x))^{7/2}}-\frac {a \left (\frac {a \cos (e+f x) (a \sin (e+f x)+a)^{3/2}}{2 f (c-c \sin (e+f x))^{5/2}}-\frac {a \left (\frac {a \cos (e+f x) \sqrt {a \sin (e+f x)+a}}{f (c-c \sin (e+f x))^{3/2}}-\frac {a^2 \cos (e+f x) \int \frac {\cos (e+f x)}{c-c \sin (e+f x)}dx}{\sqrt {a \sin (e+f x)+a} \sqrt {c-c \sin (e+f x)}}\right )}{c}\right )}{c}\right )}{c}\) |
\(\Big \downarrow \) 3146 |
\(\displaystyle \frac {(A+B) \cos (e+f x) (a \sin (e+f x)+a)^{7/2}}{8 f (c-c \sin (e+f x))^{9/2}}-\frac {B \left (\frac {a \cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{3 f (c-c \sin (e+f x))^{7/2}}-\frac {a \left (\frac {a \cos (e+f x) (a \sin (e+f x)+a)^{3/2}}{2 f (c-c \sin (e+f x))^{5/2}}-\frac {a \left (\frac {a^2 \cos (e+f x) \int \frac {1}{c-c \sin (e+f x)}d(-c \sin (e+f x))}{c f \sqrt {a \sin (e+f x)+a} \sqrt {c-c \sin (e+f x)}}+\frac {a \cos (e+f x) \sqrt {a \sin (e+f x)+a}}{f (c-c \sin (e+f x))^{3/2}}\right )}{c}\right )}{c}\right )}{c}\) |
\(\Big \downarrow \) 16 |
\(\displaystyle \frac {(A+B) \cos (e+f x) (a \sin (e+f x)+a)^{7/2}}{8 f (c-c \sin (e+f x))^{9/2}}-\frac {B \left (\frac {a \cos (e+f x) (a \sin (e+f x)+a)^{5/2}}{3 f (c-c \sin (e+f x))^{7/2}}-\frac {a \left (\frac {a \cos (e+f x) (a \sin (e+f x)+a)^{3/2}}{2 f (c-c \sin (e+f x))^{5/2}}-\frac {a \left (\frac {a^2 \cos (e+f x) \log (c-c \sin (e+f x))}{c f \sqrt {a \sin (e+f x)+a} \sqrt {c-c \sin (e+f x)}}+\frac {a \cos (e+f x) \sqrt {a \sin (e+f x)+a}}{f (c-c \sin (e+f x))^{3/2}}\right )}{c}\right )}{c}\right )}{c}\) |
((A + B)*Cos[e + f*x]*(a + a*Sin[e + f*x])^(7/2))/(8*f*(c - c*Sin[e + f*x] )^(9/2)) - (B*((a*Cos[e + f*x]*(a + a*Sin[e + f*x])^(5/2))/(3*f*(c - c*Sin [e + f*x])^(7/2)) - (a*((a*Cos[e + f*x]*(a + a*Sin[e + f*x])^(3/2))/(2*f*( c - c*Sin[e + f*x])^(5/2)) - (a*((a*Cos[e + f*x]*Sqrt[a + a*Sin[e + f*x]]) /(f*(c - c*Sin[e + f*x])^(3/2)) + (a^2*Cos[e + f*x]*Log[c - c*Sin[e + f*x] ])/(c*f*Sqrt[a + a*Sin[e + f*x]]*Sqrt[c - c*Sin[e + f*x]])))/c))/c))/c
3.2.69.3.1 Defintions of rubi rules used
Int[(c_.)/((a_.) + (b_.)*(x_)), x_Symbol] :> Simp[c*(Log[RemoveContent[a + b*x, x]]/b), x] /; FreeQ[{a, b, c}, x]
Int[cos[(e_.) + (f_.)*(x_)]^(p_.)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m _.), x_Symbol] :> Simp[1/(b^p*f) Subst[Int[(a + x)^(m + (p - 1)/2)*(a - x )^((p - 1)/2), x], x, b*Sin[e + f*x]], x] /; FreeQ[{a, b, e, f, m}, x] && I ntegerQ[(p - 1)/2] && EqQ[a^2 - b^2, 0] && (GeQ[p, -1] || !IntegerQ[m + 1/ 2])
Int[Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]/Sqrt[(c_) + (d_.)*sin[(e_.) + (f_.)*(x_)]], x_Symbol] :> Simp[a*c*(Cos[e + f*x]/(Sqrt[a + b*Sin[e + f*x ]]*Sqrt[c + d*Sin[e + f*x]])) Int[Cos[e + f*x]/(c + d*Sin[e + f*x]), x], x] /; FreeQ[{a, b, c, d, e, f}, x] && EqQ[b*c + a*d, 0] && EqQ[a^2 - b^2, 0 ]
Int[((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((c_) + (d_.)*sin[(e_.) + ( f_.)*(x_)])^(n_), x_Symbol] :> Simp[-2*b*Cos[e + f*x]*(a + b*Sin[e + f*x])^ (m - 1)*((c + d*Sin[e + f*x])^n/(f*(2*n + 1))), x] - Simp[b*((2*m - 1)/(d*( 2*n + 1))) Int[(a + b*Sin[e + f*x])^(m - 1)*(c + d*Sin[e + f*x])^(n + 1), x], x] /; FreeQ[{a, b, c, d, e, f}, x] && EqQ[b*c + a*d, 0] && EqQ[a^2 - b ^2, 0] && IGtQ[m - 1/2, 0] && LtQ[n, -1] && !(ILtQ[m + n, 0] && GtQ[2*m + n + 1, 0])
Int[((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)])*((c_) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_.), x_Symbol] :> Sim p[(A*b - a*B)*Cos[e + f*x]*(a + b*Sin[e + f*x])^m*((c + d*Sin[e + f*x])^n/( a*f*(2*m + 1))), x] + Simp[(a*B*(m - n) + A*b*(m + n + 1))/(a*b*(2*m + 1)) Int[(a + b*Sin[e + f*x])^(m + 1)*(c + d*Sin[e + f*x])^n, x], x] /; FreeQ[ {a, b, c, d, e, f, A, B, m, n}, x] && EqQ[b*c + a*d, 0] && EqQ[a^2 - b^2, 0 ] && (LtQ[m, -2^(-1)] || (ILtQ[m + n, 0] && !SumSimplerQ[n, 1])) && NeQ[2* m + 1, 0]
Time = 4.48 (sec) , antiderivative size = 409, normalized size of antiderivative = 1.66
method | result | size |
default | \(-\frac {a^{3} \sec \left (f x +e \right ) \left (-3 B \left (\cos ^{4}\left (f x +e \right )\right ) \ln \left (\frac {2}{1+\cos \left (f x +e \right )}\right )+6 B \left (\cos ^{4}\left (f x +e \right )\right ) \ln \left (\csc \left (f x +e \right )-\cot \left (f x +e \right )-1\right )+8 B \left (\sin ^{2}\left (f x +e \right )\right ) \left (\cos ^{2}\left (f x +e \right )\right )-12 B \sin \left (f x +e \right ) \left (\cos ^{2}\left (f x +e \right )\right ) \ln \left (\frac {2}{1+\cos \left (f x +e \right )}\right )+24 B \sin \left (f x +e \right ) \left (\cos ^{2}\left (f x +e \right )\right ) \ln \left (\csc \left (f x +e \right )-\cot \left (f x +e \right )-1\right )+3 A \sin \left (f x +e \right ) \left (\cos ^{2}\left (f x +e \right )\right )+11 B \left (\sin ^{3}\left (f x +e \right )\right )+24 B \left (\cos ^{2}\left (f x +e \right )\right ) \ln \left (\frac {2}{1+\cos \left (f x +e \right )}\right )-48 B \left (\cos ^{2}\left (f x +e \right )\right ) \ln \left (\csc \left (f x +e \right )-\cot \left (f x +e \right )-1\right )-20 B \left (\sin ^{2}\left (f x +e \right )\right )+24 B \sin \left (f x +e \right ) \ln \left (\frac {2}{1+\cos \left (f x +e \right )}\right )-48 B \sin \left (f x +e \right ) \ln \left (\csc \left (f x +e \right )-\cot \left (f x +e \right )-1\right )-6 A \sin \left (f x +e \right )+3 B \sin \left (f x +e \right )-24 B \ln \left (\frac {2}{1+\cos \left (f x +e \right )}\right )+48 B \ln \left (\csc \left (f x +e \right )-\cot \left (f x +e \right )-1\right )\right ) \sqrt {a \left (1+\sin \left (f x +e \right )\right )}}{3 c^{4} f \left (\left (\cos ^{2}\left (f x +e \right )\right ) \sin \left (f x +e \right )-3 \left (\cos ^{2}\left (f x +e \right )\right )-4 \sin \left (f x +e \right )+4\right ) \sqrt {-c \left (\sin \left (f x +e \right )-1\right )}}\) | \(409\) |
parts | \(-\frac {A \tan \left (f x +e \right ) a^{3} \left (\cos ^{2}\left (f x +e \right )-2\right ) \sqrt {a \left (1+\sin \left (f x +e \right )\right )}}{f \left (\left (\cos ^{2}\left (f x +e \right )\right ) \sin \left (f x +e \right )-3 \left (\cos ^{2}\left (f x +e \right )\right )-4 \sin \left (f x +e \right )+4\right ) \sqrt {-c \left (\sin \left (f x +e \right )-1\right )}\, c^{4}}+\frac {B \sec \left (f x +e \right ) \left (3 \left (\cos ^{4}\left (f x +e \right )\right ) \ln \left (\frac {2}{1+\cos \left (f x +e \right )}\right )-6 \left (\cos ^{4}\left (f x +e \right )\right ) \ln \left (\csc \left (f x +e \right )-\cot \left (f x +e \right )-1\right )+12 \left (\cos ^{2}\left (f x +e \right )\right ) \sin \left (f x +e \right ) \ln \left (\frac {2}{1+\cos \left (f x +e \right )}\right )-24 \left (\cos ^{2}\left (f x +e \right )\right ) \sin \left (f x +e \right ) \ln \left (\csc \left (f x +e \right )-\cot \left (f x +e \right )-1\right )+8 \left (\cos ^{4}\left (f x +e \right )\right )-24 \left (\cos ^{2}\left (f x +e \right )\right ) \ln \left (\frac {2}{1+\cos \left (f x +e \right )}\right )+48 \left (\cos ^{2}\left (f x +e \right )\right ) \ln \left (\csc \left (f x +e \right )-\cot \left (f x +e \right )-1\right )+11 \left (\cos ^{2}\left (f x +e \right )\right ) \sin \left (f x +e \right )-24 \ln \left (\frac {2}{1+\cos \left (f x +e \right )}\right ) \sin \left (f x +e \right )+48 \ln \left (\csc \left (f x +e \right )-\cot \left (f x +e \right )-1\right ) \sin \left (f x +e \right )-28 \left (\cos ^{2}\left (f x +e \right )\right )+24 \ln \left (\frac {2}{1+\cos \left (f x +e \right )}\right )-48 \ln \left (\csc \left (f x +e \right )-\cot \left (f x +e \right )-1\right )-14 \sin \left (f x +e \right )+20\right ) \sqrt {a \left (1+\sin \left (f x +e \right )\right )}\, a^{3}}{3 f \left (\left (\cos ^{2}\left (f x +e \right )\right ) \sin \left (f x +e \right )-3 \left (\cos ^{2}\left (f x +e \right )\right )-4 \sin \left (f x +e \right )+4\right ) \sqrt {-c \left (\sin \left (f x +e \right )-1\right )}\, c^{4}}\) | \(460\) |
-1/3*a^3/c^4/f*sec(f*x+e)*(-3*B*cos(f*x+e)^4*ln(2/(1+cos(f*x+e)))+6*B*cos( f*x+e)^4*ln(csc(f*x+e)-cot(f*x+e)-1)+8*B*sin(f*x+e)^2*cos(f*x+e)^2-12*B*si n(f*x+e)*cos(f*x+e)^2*ln(2/(1+cos(f*x+e)))+24*B*sin(f*x+e)*cos(f*x+e)^2*ln (csc(f*x+e)-cot(f*x+e)-1)+3*A*sin(f*x+e)*cos(f*x+e)^2+11*B*sin(f*x+e)^3+24 *B*cos(f*x+e)^2*ln(2/(1+cos(f*x+e)))-48*B*cos(f*x+e)^2*ln(csc(f*x+e)-cot(f *x+e)-1)-20*B*sin(f*x+e)^2+24*B*sin(f*x+e)*ln(2/(1+cos(f*x+e)))-48*B*sin(f *x+e)*ln(csc(f*x+e)-cot(f*x+e)-1)-6*A*sin(f*x+e)+3*B*sin(f*x+e)-24*B*ln(2/ (1+cos(f*x+e)))+48*B*ln(csc(f*x+e)-cot(f*x+e)-1))*(a*(1+sin(f*x+e)))^(1/2) /(cos(f*x+e)^2*sin(f*x+e)-3*cos(f*x+e)^2-4*sin(f*x+e)+4)/(-c*(sin(f*x+e)-1 ))^(1/2)
\[ \int \frac {(a+a \sin (e+f x))^{7/2} (A+B \sin (e+f x))}{(c-c \sin (e+f x))^{9/2}} \, dx=\int { \frac {{\left (B \sin \left (f x + e\right ) + A\right )} {\left (a \sin \left (f x + e\right ) + a\right )}^{\frac {7}{2}}}{{\left (-c \sin \left (f x + e\right ) + c\right )}^{\frac {9}{2}}} \,d x } \]
integrate((a+a*sin(f*x+e))^(7/2)*(A+B*sin(f*x+e))/(c-c*sin(f*x+e))^(9/2),x , algorithm="fricas")
integral((B*a^3*cos(f*x + e)^4 - (3*A + 5*B)*a^3*cos(f*x + e)^2 + 4*(A + B )*a^3 - ((A + 3*B)*a^3*cos(f*x + e)^2 - 4*(A + B)*a^3)*sin(f*x + e))*sqrt( a*sin(f*x + e) + a)*sqrt(-c*sin(f*x + e) + c)/(5*c^5*cos(f*x + e)^4 - 20*c ^5*cos(f*x + e)^2 + 16*c^5 - (c^5*cos(f*x + e)^4 - 12*c^5*cos(f*x + e)^2 + 16*c^5)*sin(f*x + e)), x)
Timed out. \[ \int \frac {(a+a \sin (e+f x))^{7/2} (A+B \sin (e+f x))}{(c-c \sin (e+f x))^{9/2}} \, dx=\text {Timed out} \]
\[ \int \frac {(a+a \sin (e+f x))^{7/2} (A+B \sin (e+f x))}{(c-c \sin (e+f x))^{9/2}} \, dx=\int { \frac {{\left (B \sin \left (f x + e\right ) + A\right )} {\left (a \sin \left (f x + e\right ) + a\right )}^{\frac {7}{2}}}{{\left (-c \sin \left (f x + e\right ) + c\right )}^{\frac {9}{2}}} \,d x } \]
integrate((a+a*sin(f*x+e))^(7/2)*(A+B*sin(f*x+e))/(c-c*sin(f*x+e))^(9/2),x , algorithm="maxima")
Time = 0.43 (sec) , antiderivative size = 338, normalized size of antiderivative = 1.37 \[ \int \frac {(a+a \sin (e+f x))^{7/2} (A+B \sin (e+f x))}{(c-c \sin (e+f x))^{9/2}} \, dx=\frac {\sqrt {2} \sqrt {a} {\left (\frac {24 \, \sqrt {2} B a^{3} \log \left (-2 \, \cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} + 2\right ) \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )}{c^{\frac {9}{2}} \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )} - \frac {\sqrt {2} {\left (12 \, {\left (A a^{3} \sqrt {c} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) + 7 \, B a^{3} \sqrt {c} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )\right )} \cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{6} - 3 \, A a^{3} \sqrt {c} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) - 47 \, B a^{3} \sqrt {c} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) - 18 \, {\left (A a^{3} \sqrt {c} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) + 11 \, B a^{3} \sqrt {c} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )\right )} \cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{4} + 4 \, {\left (3 \, A a^{3} \sqrt {c} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) + 41 \, B a^{3} \sqrt {c} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )\right )} \cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2}\right )}}{{\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} - 1\right )}^{4} c^{5} \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )}\right )}}{48 \, f} \]
integrate((a+a*sin(f*x+e))^(7/2)*(A+B*sin(f*x+e))/(c-c*sin(f*x+e))^(9/2),x , algorithm="giac")
1/48*sqrt(2)*sqrt(a)*(24*sqrt(2)*B*a^3*log(-2*cos(-1/4*pi + 1/2*f*x + 1/2* e)^2 + 2)*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e))/(c^(9/2)*sgn(sin(-1/4*pi + 1 /2*f*x + 1/2*e))) - sqrt(2)*(12*(A*a^3*sqrt(c)*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e)) + 7*B*a^3*sqrt(c)*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e)))*cos(-1/4*p i + 1/2*f*x + 1/2*e)^6 - 3*A*a^3*sqrt(c)*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e )) - 47*B*a^3*sqrt(c)*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e)) - 18*(A*a^3*sqrt (c)*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e)) + 11*B*a^3*sqrt(c)*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e)))*cos(-1/4*pi + 1/2*f*x + 1/2*e)^4 + 4*(3*A*a^3*sqrt(c )*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e)) + 41*B*a^3*sqrt(c)*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e)))*cos(-1/4*pi + 1/2*f*x + 1/2*e)^2)/((cos(-1/4*pi + 1/2* f*x + 1/2*e)^2 - 1)^4*c^5*sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e))))/f
Timed out. \[ \int \frac {(a+a \sin (e+f x))^{7/2} (A+B \sin (e+f x))}{(c-c \sin (e+f x))^{9/2}} \, dx=\int \frac {\left (A+B\,\sin \left (e+f\,x\right )\right )\,{\left (a+a\,\sin \left (e+f\,x\right )\right )}^{7/2}}{{\left (c-c\,\sin \left (e+f\,x\right )\right )}^{9/2}} \,d x \]